/* gm_medula.h -- Objeto superior de controle
 *
 * Copyright (C) 2008, Diogo F. S. Ramos <diogo.ramos@usp.br>
 * GEAR - Grupo de Estudos Avançados em Robótica
 * <http://www.sel.eesc.usp.br/gear>
 *
 * This file is part os GEARMedula.
 * 
 * GEARMedula is free software: you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, version 3 of the
 * License.
 * 
 * GEARMedula is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see
 * <http://www.gnu.org/licenses/>.
 */

#ifndef GM_MEDULA_H_
#define GM_MEDULA_H_

#include "gm_monitor.h"
#include "gm_display.h"
#include "gm_server.h"

typedef struct gm_medula_t gm_medula_t;

struct gm_medula_t
{
    gm_server_t * server;
    gm_monitor_t * monitor;
    gm_control_t * control;

    int sim_enabled;
};

gm_medula_t * gm_medula_new( void );
void gm_medula_destroy( gm_medula_t * self );
void gm_medula_init( gm_medula_t * self, gm_args_t * args_passed );
    
#endif	/* GM_MEDULA_H_ */
